<template>
  <div>
    test
    <button @click="handleClick">点击修改父亲</button>
  </div>
</template>
<script>
export default {
  methods: {
    handleClick() {
      this.$emit('input', ++this.$attrs.value)
    }
  }
}
</script>
<style>
  
</style>